package org.visionlibrary.image.filters.edge;

import java.awt.Point;

import org.visionlibrary.image.model.ConvolutionKernel;


public class Sobel extends TwoKernelEdgeDetector {
	public Sobel() {
		horKernel = new ConvolutionKernel(3, 3, new float[] { 1, 2, 1, 0, 0, 0,
				-1, -2, -1 }, 1, new Point(1, 1));
		verKernel = new ConvolutionKernel(3, 3, new float[] { 1, 0, -1, 2, 0,
				-2, 1, 0, -1 }, 1, new Point(1, 1));
	}
}
